package com.xxx.mch.service;

import com.github.pagehelper.PageInfo;
import com.xxx.mch.domain.dto.QualityScoreTemplateDto;
import com.xxx.mch.domain.po.QualityScore;
import com.xxx.mch.domain.request.QualityScoreTemplateRequest;
import com.xxx.mch.domain.request.QueryScoreRequest;
import com.xxx.mch.domain.request.RuleSearchRequest;

import java.util.List;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020/2/26
 */
public interface QualityScoreService
{
    PageInfo<QualityScore> queryScoreRecord(QueryScoreRequest queryScoreRequest);


    void saveScore(QualityScore qualityScore);


    List<QualityScore> queryEvaluateFilter(QueryScoreRequest queryScoreRequest);


    List<QualityScore> queryLevelFilter(QueryScoreRequest queryScoreRequest);


    List<QualityScoreTemplateDto> getTaskTemplate(Integer parentId, Integer depth);


    void createOrUpdateTemplate(List<QualityScoreTemplateRequest> templateRequest);


    void deleteTemplate(Integer id);


    List<QualityScoreTemplateDto> ruleSearch(RuleSearchRequest ruleSearchRequest);
}
